package com.rshang.rsdp.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangjun
 * @since 2017-12-26
 */
@TableName("TB_RSDL_HISTORY")
public class TbRsdlHistory extends Model<TbRsdlHistory> {

    private static final long serialVersionUID = 1L;

    /**
     * 历史纪录id
     */
    @TableId("HIS_ID")
	private String hisId;
    /**
     * 人员uuid
     */
	@TableField("OBJ_ID")
	private String objId;
    /**
     * 历史类型
     */
	@TableField("HIS_TYPE")
	private String hisType;
    /**
     * 历史内容
     */
	@TableField("HIS_CONT")
	private String hisCont;
    /**
     * 修改人
     */
	@TableField("XGR")
	private String xgr;
    /**
     * 修改时间
     */
	@TableField("XGSJ")
	private Date xgsj;


	public String getHisId() {
		return hisId;
	}

	public void setHisId(String hisId) {
		this.hisId = hisId;
	}

	public String getObjId() {
		return objId;
	}

	public void setObjId(String objId) {
		this.objId = objId;
	}

	public String getHisType() {
		return hisType;
	}

	public void setHisType(String hisType) {
		this.hisType = hisType;
	}

	public String getHisCont() {
		return hisCont;
	}

	public void setHisCont(String hisCont) {
		this.hisCont = hisCont;
	}

	public String getXgr() {
		return xgr;
	}

	public void setXgr(String xgr) {
		this.xgr = xgr;
	}

	public Date getXgsj() {
		return xgsj;
	}

	public void setXgsj(Date xgsj) {
		this.xgsj = xgsj;
	}

	@Override
	protected Serializable pkVal() {
		return this.hisId;
	}

	@Override
	public String toString() {
		return "TbRsdlHistory{" +
			"hisId=" + hisId +
			", objId=" + objId +
			", hisType=" + hisType +
			", hisCont=" + hisCont +
			", xgr=" + xgr +
			", xgsj=" + xgsj +
			"}";
	}
}
